﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Masters/Form.master" AutoEventWireup="true"
 CodeFile="FlowStepAdd.aspx.cs" Inherits="Modules_Flow_FlowStepAdd" Title="流程步骤添加" %>



<asp:Content ID="Content2" ContentPlaceHolderID="idFormMain" Runat="Server">

    <h2>
       <asp:Label ID="lblTitle" runat="server" Text="步骤添加" ></asp:Label>
    </h2>
<div>
    <table cellpadding='2' cellspacing='1' class='ow_fim_mg' width='100%'>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="lbCode" runat="server" Text="步骤名称:" ></asp:Label><font color='red'>*</font>
                     
                    </td>
                    <td class='fi_r' colspan="3">
                         <asp:TextBox ID="txtName" runat="server"  ValidationGroup="Flow" Width="140px"></asp:TextBox>
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入步骤名称!"
                    ValidationGroup="Flow" ControlToValidate="txtName" meta:resourcekey="RequiredFieldValidator1Resource1">*</asp:RequiredFieldValidator>
                    </td>
                    
                </tr>
               <%-- <tr>
                 <td class='fi_l'>
                        <asp:Label ID="lblName" runat="server" Text="上一步骤名称:" ></asp:Label>
                     
                    </td>
                    <td class='fi_r'>
                         <asp:DropDownList ID="ddlPreStep" runat="server"></asp:DropDownList>
                    </td>
                  <td class='fi_l'>
                        <asp:Label ID="lblNext" runat="server" Text="下一步骤名称:" ></asp:Label>
                     
                    </td>
                    <td class='fi_r'>
                       <asp:DropDownList ID="ddlNextStep" runat="server"></asp:DropDownList>
                    </td>
                   
                </tr>--%>
                
                <tr>
                  <td class='fi_l'>
                        <asp:Label ID="Label2" runat="server" Text="审批方式:" ></asp:Label><font color='red'>*</font>
                     
                    </td>
                    <td class='fi_r'>
                         <asp:DropDownList ID="ddlAppWay" runat="server" OnSelectedIndexChanged="ddlAppWay_SelectedIndexChanged" Width="125px"
                        AutoPostBack="true">
                         <asp:ListItem Text="角色" Value="0"></asp:ListItem>
                          <asp:ListItem Text="部门" Value="1"></asp:ListItem>
                           <asp:ListItem Text="用户" Value="2"></asp:ListItem>
                         </asp:DropDownList>
                    </td>
                    <td class='fi_l'>
                        <asp:Label ID="lblmode" runat="server" Text="审批人:" ></asp:Label><font color='red'>*</font>
                     
                    </td>
                    <td class='fi_r'>
                         <asp:DropDownList ID="ddlMode" runat="server" Width="125px">                        
                         </asp:DropDownList>
                    </td>   
                    
                </tr>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="lblRemark" runat="server" Text="备注:" ></asp:Label>
                    </td>
                    <td class='fi_r' colspan="3">
                      <asp:TextBox ID="txtRemark" runat="server" Width="350px" Height="80px" Rows="4" TextMode="MultiLine"
                    ></asp:TextBox>
                        </td>                
                </tr>   
                      
            </table>
</div>

<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" ValidationGroup="Flow" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="idFormButton" runat="Server">
  <asp:Button ID="btnSave" runat="server" Text="保存"  ValidationGroup="Flow"
        OnClick="btnSave_Click" />
    <asp:Button ID="CloseButton" runat="server" Text="关闭" 
        OnClientClick="return closeForm();" />   
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="idScript" runat="Server">

    <script type="text/javascript">
        function closeForm() {
            window.returnValue="false";
            window.opener=null;
            window.close();
            return false;
        } 
       
       
    </script>

</asp:Content>



